package java_DesignPattern.SixPrinciple.DependencyInversionPrinciple.SpringImpl;
/**
 * 电脑组装类
 */
public class ComputerAssembler {

    /**
     * 电脑组装方法
     * @return 组装好的电脑
     */
    public static Computer computerAssemble(){
        return new Computer(new IntelCPU(),
                            new KingstonMemory(),
                            new XJHardDisk());
    }
}
